@extends('layouts.site')
@if($college)
@section('content')
    <article id="main">
        <header class="special container">
            <span class="icon fa-building"></span>
            <h2><strong>{{$college->name_show}}</strong></h2>
        </header>

        <section class="wrapper style4 container">
            <a href="#" class="image featured">
                <img src="{{$storage}}{{$college->image}}" alt="{{$college->name_show}}">
            </a>

            <table>
                <tr>
                    <td>地址</td>
                    <td>{{$college->address}}</td>
                </tr>
                <tr>
                    <td>学生人数</td>
                    <td>{{$college->student_num}}</td>
                </tr>
                <tr>
                    <td>雅思|托福|SAT</td>
                    <td>{{$college->ielts}} | {{$college->toefl}} | {{$college->sat}} </td>
                </tr>
                <tr>
                    <td>录取率</td>
                    <td>{{$college->acceptance_rate}}</td>
                </tr>
                <tr>
                    <td>参考学费</td>
                    <td>{{$college->fee}}</td>
                </tr>
                <tr>
                    <td>是否有奖学金</td>
                    <td>@if($college->has_scholarship) 是 @else 否 @endif</td>
                </tr>
            </table>

            <div>
                {!! $college->description !!}
            </div>
        </section>
    </article>
@endsection
@endif
